from awlsim.common.cython_support cimport *
from awlsim.core.blocks cimport *
from awlsim.core.datastructure cimport *
from awlsim.core.offset cimport *
from awlsim.core.operators cimport *

cdef class DB(Block):
	cdef public uint32_t _PERM_READ
	cdef public uint32_t _PERM_WRITE
	cdef public uint32_t permissions

	cdef public object codeBlock
	cdef public AwlStruct __struct
	cdef public AwlStructInstance structInstance

	cdef AwlMemoryObject fetch(self, AwlOperator operator, AwlOffset baseOffset) except NULL
	cdef store(self, AwlOperator operator, AwlMemoryObject memObj, AwlOffset baseOffset)
